public class $class.name$ extends $class.baseClassName$ {

	public Object newInstance() throws InstantiationException,IllegalAccessException {		
	$if(class.notInstantiationable)$	
	    throw new pl.rmalinowski.gwtreflect.client.reflect.InstantiationException();
	$else$ 
	
	$if(class.illegalAccess)$
		throw new pl.rmalinowski.gwtreflect.client.reflect.IllegalAccessException();
	$else$
		return GWT.create($class.classNewInstanceName$);
	$endif$
	
	$endif$
	}
	
	public $class.name$() {
		super("$class.signature$",$class.target.modifiers$);
						
		$fields()$
				
		$methods()$
		
		$constructors()$
		
	}
	
	
    protected java.lang.Class getClazz() {
    $if(class.illegalAccess)$
		throw new pl.rmalinowski.gwtreflect.client.reflect.IllegalAccessException();
	$else$
		return $class.classNewInstanceName$;
	$endif$
      
    }
    
    
$if(configPack.inheritEnable)$ 
    protected String getSuperClassSignature() {
        return "Lpl/rmalinowski/gwtreflect/client/test/Sample;";
    }
$else$

    // DEBUG TRACE : inherit is not enabled
    
$endif$
    
    
}